//-----------------------------------------------------------------------
// <copyright file="ArticleCatBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class ArticleCatBase
	{
		
		#region Variable Declarations
		public static string _Table = "ArticleCat";
		private long				categoryID = 0;
		private string				name = string.Empty;
		private string				nameEn = string.Empty;
		private int				order = 0;
		private int				productType = 0;
		private string				desc = string.Empty;
		private string				code = string.Empty;
		private string				summary = string.Empty;
		private long				userId = 0;
		#endregion
		
		#region Constructors
		public ArticleCatBase() {}
		
		public ArticleCatBase (
			long categoryID,
			string name,
			string nameEn,
			int order,
			int productType,
			string desc,
			string code,
			string summary,
			long userId)
		
		{
			this.categoryID = categoryID;
			this.name = name;
			this.nameEn = nameEn;
			this.order = order;
			this.productType = productType;
			this.desc = desc;
			this.code = code;
			this.summary = summary;
			this.userId = userId;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CategoryID
		{
			get { return categoryID; }
			set { categoryID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Name
		{
			get { return name; }
			set { name = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string NameEn
		{
			get { return nameEn; }
			set { nameEn = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ProductType
		{
			get { return productType; }
			set { productType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Desc
		{
			get { return desc; }
			set { desc = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Code
		{
			get { return code; }
			set { code = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Summary
		{
			get { return summary; }
			set { summary = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long UserId
		{
			get { return userId; }
			set { userId = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum ArticleCatColumns
	{
		CategoryID,
		Name,
		NameEn,
		Order,
		ProductType,
		Desc,
		Code,
		Summary,
		UserId
	}//End enum
}